home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / BSP Tree Demo / include / draw.h < prev    next >
Encoding:
Text File  |  1995-03-26  |  1.1 KB  |  28 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    draw.h
  3. //    Date:                    9/26/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains the interface functions for some basic
  7. //                                drawing operations
  8. //
  9. //------------------------------------------------------------------------------
  10.  
  11. #include    "point_2d.h"
  12. #include    "polyptr_3d.h"
  13.  
  14. #ifndef    DRAW
  15. #define    DRAW
  16.  
  17. //------------------------------------------------------------------------------
  18. //    functions
  19. //------------------------------------------------------------------------------
  20. void        MoveTo (const point_2d &pt);                                                                                        //    move to a point_3d
  21. void        LineTo (const point_2d &pt);                                                                                        //    draw a line to a point_3d
  22. void        Circle (const point_2d &a, const point_2d &b);                                                    //    draw a circle defined by a rectangle
  23. void        CrossHair (const point_2d &pt);                                                                                    //    draw a crosshair at a point_3d
  24. void        DrawPolygon (polyptr poly);                                                                                            //    draw a polygon
  25.  
  26. //------------------------------------------------------------------------------
  27.  
  28. #endif    //DRAW